<?php
include('header.php');
if(!$is_online){
	redirect('index.php');
	exit;
}
?>
<div class="block medium right">
			<div class="top">
					<h1>VIP Membership</h1> 
            </div>
			<div class="content">	
By purchasing VIP you are able to set the <b>CPC up to 10 coins</b>!<br />This allows you to <b>be seen before anyone else</b>.<br><br><b>Remaining VIP days:</b> <?=$data['premium']?>		<br /><br />	
<?
  $sql = $db->Query("SELECT id,days,price FROM `p_pack` ORDER BY `id` ASC");
  $packs = $db->FetchArrayAll($sql);
  foreach($packs as $pack)
{
?>
<div class="purchase">
<div class="purchase-hdr"><?=$pack['days']?> Days - $<?=$pack['price']?></div>
<a href="<?=$site['site_url']?>/pages/go_paypal.php?t=p&id=<?=$pack['id']?>" target="_blank"><img src="<?=$site['site_url']?>/img/paypal.png" alt="PayPal" border="0" /></a>
</div>
<?}?>
		</div>
	</div>
<?include('footer.php');?>